package com.ruoyi.storage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入库详情对象 entry_detail
 * 
 * @author 庞一恺
 * @date 2025-01-20
 */
public class EntryDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物品批次编号 */
    private Integer entryDetailId;

    /** 入库单编号 */
    @Excel(name = "入库单编号")
    private Integer entryRecordId;

    /** 库区编号 */
    @Excel(name = "库区编号")
    private Integer zoneId;

    /** 库存信息编号 */
    @Excel(name = "库存信息编号")
    private String batchId;

    /** 账目数量 */
    @Excel(name = "账目数量")
    private Long goodNum;

    /** 物品来源 */
    @Excel(name = "物品来源")
    private String goodSource;

    public void setEntryDetailId(Integer entryDetailId)
    {
        this.entryDetailId = entryDetailId;
    }

    public Integer getEntryDetailId()
    {
        return entryDetailId;
    }
    public void setEntryRecordId(Integer entryRecordId) 
    {
        this.entryRecordId = entryRecordId;
    }

    public Integer getEntryRecordId() 
    {
        return entryRecordId;
    }
    public void setZoneId(Integer zoneId) 
    {
        this.zoneId = zoneId;
    }

    public Integer getZoneId() 
    {
        return zoneId;
    }
    public void setBatchId(String batchId) 
    {
        this.batchId = batchId;
    }

    public String getBatchId() 
    {
        return batchId;
    }
    public void setGoodNum(Long goodNum) 
    {
        this.goodNum = goodNum;
    }

    public Long getGoodNum() 
    {
        return goodNum;
    }
    public void setGoodSource(String goodSource) 
    {
        this.goodSource = goodSource;
    }

    public String getGoodSource() 
    {
        return goodSource;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("entryDetailId", getEntryDetailId())
            .append("entryRecordId", getEntryRecordId())
            .append("zoneId", getZoneId())
            .append("batchId", getBatchId())
            .append("goodNum", getGoodNum())
            .append("goodSource", getGoodSource())
            .toString();
    }
}
